package com.simplemall.micro.serv.common.bean.account;

import java.util.Date;

import com.simplemall.micro.serv.common.dto.account.WxRegisterDto;

/**
 * 用户表
 * @author hyd
 * @Create 2017-10-19
 */
public class User {
	private String userid;
	private String email;
	private String nickname;
	private String password;
	private String logourl;
	private int gender;
	private String province;
	private String city;
	private String country;
	private Date systime;
	
	public User(){
		
	}
	public User(WxRegisterDto wxRegisterDto){
		this.email = wxRegisterDto.getEmail();
		this.nickname = wxRegisterDto.getNickname();
		this.password = wxRegisterDto.getPassword();
		this.logourl = wxRegisterDto.getLogourl();
		this.gender = wxRegisterDto.getGender();
		this.province = wxRegisterDto.getProvince();
		this.city = wxRegisterDto.getCity();
		this.country = wxRegisterDto.getCountry();
	}
	
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getLogourl() {
		return logourl;
	}
	public void setLogourl(String logourl) {
		this.logourl = logourl;
	}
	public int getGender() {
		return gender;
	}
	public void setGender(int gender) {
		this.gender = gender;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public Date getSystime() {
		return systime;
	}
	public void setSystime(Date systime) {
		this.systime = systime;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
}
